package cn.kgc.kgcuserprovider.serviceImpl;

import cn.kgc.kgcuserprovider.mapper.UserMapper;
import org.apache.dubbo.config.annotation.Service;
import pojo.User;
import service.UserService;

import javax.annotation.Resource;

/**
 * @author geQiang
 * @version 1.0
 * @date 2019/4/12
 * @description cn.kgc.kgcuserprovider.serviceImpl
 */
@Service(interfaceClass = UserService.class)
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;

    @Override
    public User longin(User user) {
        return userMapper.longin(user);
    }

}
